﻿<script src="https://cdnjs.cloudflare.com/ajax/libs/oidc-client/1.9.1/oidc-client.min.js"></script>

<script>
    var userManger = new Oidc.UserManager({
        userStore: new Oidc.WebStorageStateStore({ store: window.localStorage }),
        response_mode: "query"
    });

    userManger.signinCallback().then(res => {
        console.log(res);
        
        window.location.href = '/home/index';
    })

</script>